<?php
/**
 * Installer final page
 *
 * @copyright		The XOOPS project http://www.xoops.org/
 * @license			http://www.fsf.org/copyleft/gpl.html GNU General Public License (GPL)
 * @package			installer
 * @since			2.0.18
 * @version			$Id: page_end.php 596 2006-06-30 03:14:03Z skalpa $
 *
 * @author			Haruki Setoyama  <haruki@planewave.org>
 * @author			Kazumi Ono <webmaster@myweb.ne.jp>
 * @author			Skalpa Keo <skalpa@xoops.org>
 * @author			dugris <dugris@frxoops.org>
**/

require_once 'common.inc.php';
if ( !defined('XOOPS_INSTALL') ) { die('XOOPS Custom Installation die'); }

$wizard->setPage( 'end' );
$wizard->loadModuleLangFile();
$pageHasForm = false;
$pageHasEnd = true;

$content = "";
include "./language/$wizard->language/finish.php";

if (is_dir(XOOPS_ROOT_PATH."/install/" )) {
	$content .= "<div class='x2-note errorMsg'>" . sprintf(_WARNINSTALL2,XOOPS_ROOT_PATH.'/install/') . "</div>\n";
}
if ( is_writable(XOOPS_ROOT_PATH."/mainfile.php" ) ) {
	$content .= "<div class='x2-note errorMsg'>" . sprintf(_WARNINWRITEABLE,XOOPS_ROOT_PATH.'/mainfile.php') . "</div>\n";
}

//$_SESSION['Login'] = false;
include 'install_tpl.php';

?>